// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
// pinia持久化
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';

import App from './App.vue'
import router from './router'

// 浏览器样式重置文件
import 'normalize.css';

const app = createApp(App)
const pinia = createPinia();


// 使用持久化插件
pinia.use(piniaPluginPersistedstate);

app.use(pinia)
app.use(router)

app.mount('#app')
